﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Keepo.Models.Services
{
    public class DesignVectorExport
    {
        public DesignVectorExport() { }

        public DesignVectorExport(DesignVector vector)
        {
            DesignVectorId = vector.DesignVectorId;
            Title = vector.Title;
            ClassName = vector.ClassName;
            URL = vector.URL;
            VectorCategoryId = vector.VectorCategoryId;

            ThumbnailUrl = vector.URL.Replace(@"\", "/");
        }

        public int DesignVectorId { get; set; }

        public string Title { get; set; }
        public string ClassName { get; set; }
        public string URL { get; set; }

        public string ThumbnailUrl { get; set; }

        public int VectorCategoryId { get; set; }

    }
}